package org.project.service.user;

import java.util.List;

import javax.annotation.Resource;

import org.project.dao.user.OrderMapper;
import org.project.pojo.Admintime;
import org.project.pojo.Download0;
import org.project.pojo.Fengye;
import org.project.pojo.Message;
import org.project.pojo.Order;
import org.project.pojo.Orderrecord2;
import org.project.pojo.Ordertime1;
import org.project.pojo.Outtime;
import org.project.pojo.TypeDetail;
import org.springframework.stereotype.Service;

@Service
public class Order1ServiceImp implements Order1Service {

	@Resource
	private OrderMapper orderMapper;

	@Override
	public List<Order> selectwc(Fengye fengye) {
		// TODO Auto-generated method stub
		return orderMapper.selectwc(fengye);
	}

	@Override
	public int selectwccount() {
		// TODO Auto-generated method stub
		return orderMapper.selectwccount();
	}

	@Override
	public List<Order> selectyewzf(Fengye fengye) {
		// TODO Auto-generated method stub
		return orderMapper.selectyewzf(fengye);
	}

	@Override
	public int selectyewzfcount() {
		// TODO Auto-generated method stub
		return orderMapper.selectyewzfcount();
	}

	@Override
	public List<Order> selectwzf2(Fengye fengye) {
		// TODO Auto-generated method stub
		
		System.out.println(orderMapper.selectwzf2(fengye)+"aaabbbccc");
		return orderMapper.selectwzf2(fengye);
	}

	@Override
	public int selectwzf2count() {
		// TODO Auto-generated method stub
		return orderMapper.selectwzf2count();
	}

	@Override
	public List<Order> selectyqx(Fengye fengye) {
		// TODO Auto-generated method stub
		return orderMapper.selectyqx(fengye);
	}

	@Override
	public int selectyqxcount() {
		// TODO Auto-generated method stub
		return orderMapper.selectyqxcount();
	}

	@Override
	public int deleteorder(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.deleteorder(orderid);
	}

	@Override
	public List<TypeDetail> selecttypes(Order order) {
		// TODO Auto-generated method stub
		return orderMapper.selecttypes(order);
	}

	@Override
	public Order selectorder1(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.selectorder1(orderid);
	}

	@Override
	public int payyue(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.payyue(orderid);
	}

	@Override
	public List<Orderrecord2> selectwcorder2(String openid) {
		// TODO Auto-generated method stub
		return orderMapper.selectwcorder2(openid);
	}

	@Override
	public List<Download0> seephoto(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.seephoto(orderid);
	}

	@Override
	public int uploadphoto(Download0 download0) {
		// TODO Auto-generated method stub
		return orderMapper.uploadphoto(download0);
	}

	@Override
	public Download0 selectbyid(Download0 download0) {
		// TODO Auto-generated method stub
		return orderMapper.selectbyid(download0);
	}
	
	@Override
	public List<Download0> selectupurls() {
		// TODO Auto-generated method stub
		return null;
	}
	

	@Override
	public int deletebyid(Download0 download0) {
		// TODO Auto-generated method stub
		return  orderMapper.deletebyid(download0);
	}

	@Override
	public int deletebyorderid(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.deletebyorderid(orderid);
	}

	@Override
	public int insertmessage(Message message) {
		// TODO Auto-generated method stub
		return orderMapper.insertmessage(message);
	}

	@Override
	public List<Message> selectmessage() {
		// TODO Auto-generated method stub
		return orderMapper.selectmessage();
	}

	@Override
	public int updatemessage(Message message) {
		// TODO Auto-generated method stub
		return orderMapper.updatemessage(message);
	}

	@Override
	public Order selectyuewzf333(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.selectyuewzf333(orderid);
	}

	@Override
	public int insertouttime(Outtime outtime) {
		// TODO Auto-generated method stub
		return orderMapper.insertouttime(outtime);
	}

	@Override
	public List<Outtime> selectouttime() {
		// TODO Auto-generated method stub
		return orderMapper.selectouttime();
	}

	
	
	@Override
	public int deleteouttime(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.deleteouttime(orderid);
	}

	@Override
	public List<Admintime> selectorderTime(Ordertime1 ordertime1) {
		// TODO Auto-generated method stub
		return orderMapper.selectorderTime(ordertime1);
	}

	@Override
	public int dosx(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.dosx(orderid);
	}

	@Override
	public List<Order> selectsx(Fengye fengye) {
		// TODO Auto-generated method stub
		return orderMapper.selectsx(fengye);
	}

	@Override
	public int selectwtkcount() {
		// TODO Auto-generated method stub
		return orderMapper.selectwtkcount();
	}

	@Override
	public int selectytkcount() {
		// TODO Auto-generated method stub
		return orderMapper.selectytkcount();
	}

	@Override
	public int tuikuan(String orderid) {
		// TODO Auto-generated method stub
		return orderMapper.tuikuan(orderid);
	}

	@Override
	public int selectsxcount() {
		// TODO Auto-generated method stub
		return orderMapper.selectsxcount();
	}

	

	
	
	
	
}
